package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface DishService {
    /**DishService
     * 新增菜品和对应口味
     * @param dishDTO
     */
    public void saveWithFlavor(DishDTO dishDTO);

    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);

    DishVO getByIdWithFlavor(Long id);

<<<<<<< HEAD
    List<Dish> list(Long categoryId);
=======
    void updateWithFlavor(DishDTO dishDTO);
>>>>>>> 6282d1a165203ba38c474b47f6c7648393598c8c
}
